import {requestGet,requestPost} from"../utils/request/request.js"



/**
 * 获取我的刷题数据统计
 */
export const GetPracticeStatistics=(obj)=>{
  return requestGet("api/Client/GetPracticeStatistics",obj)
}


/**
 * 获取随机刷题的题目
 */
export const GetRandomQuestions=(obj)=>{
  return requestGet("api/Client/GetRandomQuestions",obj)
}


/**
 * 获取刷题的题库
 */
export const getQuestionBanks=(obj)=>{
    return requestGet("api/Exam/GetQuestionBanks",obj);
       
}	


/**
 * 随机刷题交卷
 */
export const PracticeJiaoJuan=(obj)=>{
    return requestPost("api/Client/PracticeJiaoJuan",obj);
       
}


/**
 * 获取刷题成绩
 */
export const GetPracticeResult=(obj)=>{
    return requestGet("api/Client/GetPracticeResult",obj);
       
}

/**
 * 获取单次刷题解析
 */
export const GetPracticeAnalysis=(obj)=>{
    return requestGet("api/Client/GetPracticeAnalysis",obj);
       
}


/**
 * 我的错题本 主页数据
 */
export const GetMyCuotiben=(obj)=>{
    return requestGet("api/Client/GetMyCuotiben",obj);
       
}

/**
 * 获取错题题目
 */
export const GetCuotiQuestions=(obj)=>{
    return requestGet("api/Client/GetCuotiQuestions",obj);
}


/**
 * 删除错题本题目
 */
export const ClearWrongQuestions=(obj)=>{
    return requestGet("api/Client/ClearWrongQuestions",obj);
       
}

/**
 * 获取收藏的题目 主页数据
 */
export const GetMyLikes=(obj)=>{
    return requestGet("api/Client/GetMyLikes",obj);
       
}

/**
 * 获取收藏的题目
 */
export const GetLikeQuestions=(obj)=>{
    return requestGet("api/Client/GetLikeQuestions",obj);
       
}

/**
 * 添加收藏题目/取消收藏题目
 */
export const AddLikeQuestion=(obj)=>{
    return requestGet("api/Client/AddLikeQuestion",obj);
       
}

/**
 * 全部收藏页面 删除收藏的题目
 */
export const DeleteLikeQuestion=(obj)=>{
    return requestGet("api/Client/DeleteLikeQuestion",obj);     
}



/**
 * 获取刷题历史
 */
export const GetUserRepeatHistory=(obj)=>{
    return requestGet("api/Client/GetUserRepeatHistory",obj);     
}

/**
 * 继续刷题
 */

export const ContinueRepeat=(obj)=>{
    return requestGet("api/Client/ContinueRepeat",obj);     
}


/**
 * 模拟刷题模块start 获取模拟刷题数据
 */
export const GetMockStatistics=(obj)=>{
    return requestGet("api/Client/GetMockStatistics",obj);     
}

/**
 * 获取模拟真题试卷
 */
export const GetMockTestpapers=(obj)=>{
    return requestGet("api/Client/GetMockTestpapers",obj);     
}


/**
 * 获取单个模拟试卷
 */
export const GetSingleMockTestPaper=(obj)=>{
    return requestGet("api/Client/GetSingleMockTestPaper",obj);     
}

/**
 * 开始-继续 模拟测试
 */
export const StartMock=(obj)=>{
    return requestGet("api/Client/StartMock",obj);     
}

/**
 * 模拟测试交卷
 */
export const MockJiaoJuan=(obj)=>{
    return requestPost("api/Client/MockJiaoJuan",obj);     
}

/**
 * 获取模拟成绩
 */
export const GetMockResult=(obj)=>{
    return requestGet("api/Client/GetMockResult",obj);     
}

/**
 * 获取模拟测试解析
 */
export const GetMockAnalysis=(obj)=>{
    return requestGet("api/Client/GetMockAnalysis",obj);     
}

